package com.health.pojo.domain;

import lombok.Data;
import lombok.AllArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 医疗记录实体类
 *
 * @author WUYU_MIN
 * @date 2025-04-29 23:51:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("medical_records")
public class MedicalRecordDO {

    /**
     * 医疗记录id:记录ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "医疗记录id:记录ID")
    private Integer medicalId;

    /**
     * 用户id:用户ID
     */
    @Schema(description = "用户id:用户ID")
    private Integer userId;

    /**
     * 病史:病史
     */
    @Schema(description = "病史:病史")
    private String medicalHistory;

    /**
     * 治疗方案:治疗方案
     */
    @Schema(description = "治疗方案:治疗方案")
    private String treatmentPlan;

    /**
     * 用药记录:用药记录
     */
    @Schema(description = "用药记录:用药记录")
    private String medications;

    /**
     * 治疗起始日期:治疗起始
     */
    @Schema(description = "治疗起始日期:治疗起始")
    private Date treatmentStart;

    /**
     * 治疗结束日期:治疗结束
     */
    @Schema(description = "治疗结束日期:治疗结束")
    private Date treatmentEnd;

    /**
     * 创建时间:创建时间
     */
    @Schema(description = "创建时间:创建时间")
    private Date createdAt;
}
